@import '../../styles/theme.less';

.layout {
  min-height: 100vh;
}

.mainLayout {
  padding-top: 64px;
  min-height: 100vh;
  background: #f0f2f5;
}

.sider {
  background: #fff;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
  z-index: 1;

  :global {
    .ant-menu {
      font-size: 14px;
    }

    .ant-menu-item {
      height: 48px;
      line-height: 48px;
    }

    .ant-menu-submenu-title {
      height: 48px;
      line-height: 48px;
    }

    .ant-menu-item-icon {
      font-size: 16px;
    }
  }
}

.contentLayout {
  padding: 24px;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb {
  margin-bottom: 16px;
  padding: 16px 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);

  :global(.ant-breadcrumb) {
    font-size: 14px;
  }
}

.mainCard {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;

    h2 {
      margin: 0;
      font-size: 20px;
      font-weight: 600;
      color: rgba(0, 0, 0, 0.85);
    }
  }

  .steps {
    margin: 32px 0;
    padding: 0 48px;

    :global {
      .ant-steps-item-title {
        font-size: 16px;
        font-weight: 500;
      }

      .ant-steps-item-description {
        font-size: 14px;
        color: rgba(0, 0, 0, 0.45);
      }
    }
  }

  .formContent {
    padding: 24px 48px;
    background: #fafafa;
    border-radius: 8px;
    min-height: 400px;
  }
}

.customTip {
  margin-bottom: 12px;
  padding: 16px;
  background: #ffa94020 !important;
  border: 1px solid #ffa940 !important;
  border-radius: 8px;

  .tipHeader {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #d4630c !important;
    font-size: 15px;
    font-weight: 500;

    .anticon {
      font-size: 16px;
      color: #d4630c !important;
    }
  }
}

.tipList {
  margin: 0;
  padding-left: 20px;

  li {
    line-height: 24px;
    margin-bottom: 8px;
    color: rgba(0, 0, 0, 0.55);
    font-size: 13px;

    &:last-child {
      margin-bottom: 0;
    }

    &::marker {
      color: #d48806;
    }
  }
}

.docLink {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 4px;
  padding: 2px 8px;
  color: #d48806;
  background: rgba(250, 173, 20, 0.1);
  border-radius: 4px;
  transition: all 0.3s;

  .anticon {
    font-size: 13px;
  }

  &:hover {
    color: #fa8c16;
    background: rgba(250, 173, 20, 0.15);
    text-decoration: none;
  }

  &:active {
    color: #d46b08;
    background: rgba(250, 173, 20, 0.2);
  }
} 